td {
  text-align: center;
}

.square {
  height: 49px;
  width: 45px;
}

td.rowid {
  width: 49px;
}

td.colid {
  height: 45px;
}

table.chessboard {
  margin-left: auto;
  margin-right: auto;
}

td.black {
  background-color: #ff912a;
  border: 2px solid #ff912a;
}

td.white {
  background-color: #d5fff8;
  border: 2px solid #d5fff8;
}

td.lastmove {
  border: 2px solid blue;
}

#chessboard {
  float: left;
}

#pgn {
  float: left;
}

span.move {
  text-align: center;
  display: block;
  float: left;
  width: 70px;
  cursor: pointer;
}

span.movenumber {
  display: block;
  float: left;
  width: 20px;
  text-align: right;
}

div#movelist {
  overflow: auto;
  width: 190px;
  max-height: 400px;
}

#black-player, #white-player {
  width: 100%;
  text-align: center;
}

#commands {
  position: relative;
  top: 20px;
  float: left;
  text-align: center;
  padding: 10px 20px 0 0;
}

#commands a {
  display: block;
  margin: 5px;
}

span.currentmove {
  background-color: #a8ffc2;
}